from flask_migrate import MigrateCommand
from flask_script import Manager
from flask_cors import *
from App import create_app
from OpenSSL import SSL
app = create_app("developConfig")

CORS(app, supports_credentials=True)
CORS(app, resources=r'/*')
manage = Manager(app)

manage.add_command("db", MigrateCommand)

if __name__ == '__main__':
    manage.run()
